package com.l024.ljl.service;

import com.l024.ljl.dao.SysTypeDao;
import com.l024.ljl.entity.PageEntity;
import com.l024.ljl.entity.SysSubjectEntity;
import com.l024.ljl.entity.SysTypeEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * 试题类型
 */
@Service
public class SysTypeService implements BaseService<SysTypeEntity>{
    @Autowired
    private SysTypeDao sysTypeDao;

    @Override
    public boolean add(SysTypeEntity sysTypeEntity) {
        return false;
    }

    @Override
    public boolean del(long id) {
        return false;
    }

    @Override
    public List<SysTypeEntity> getAll() {
        return sysTypeDao.findAll();
    }

    @Override
    public boolean update(SysTypeEntity sysTypeEntity) {
        return false;
    }

    @Override
    public PageEntity<SysTypeEntity> page(int page, int size) {
        return null;
    }
}
